<template>
  <div class="app-container">
    <div style="margin-bottom: 20px;">
      <el-form ref="form" label-width="80px" :inline="true" size="small">

        <el-form-item label="员工编号">
          <el-input v-model="queryform.numer" />
        </el-form-item>
        <el-form-item label="姓名">
          <el-input v-model="queryform.numer" />
        </el-form-item>
        <el-form-item label="申请时间">
          <el-date-picker
            v-model="queryform.planStartTime"
            type="datetime"
            format="yyyy-MM-dd HH:mm:ss"
            value-format="yyyy-MM-dd HH:mm:ss"

            placeholder="请选择时间"
          />
        </el-form-item>
        <el-form-item label="变更时间">
          <el-date-picker
            v-model="queryform.planStartTime"
            type="datetime"
            format="yyyy-MM-dd HH:mm:ss"
            value-format="yyyy-MM-dd HH:mm:ss"

            placeholder="请选择时间"
          />
        </el-form-item>
        <el-form-item>
          <el-button type="primary" icon="el-icon-search" size="small">搜索</el-button>
          <el-button icon="el-icon-refresh" size="small">重置</el-button>
          <!-- @click="handleQuery" @click="resetQuery"-->
        </el-form-item>
      </el-form>
    </div>

    <el-table
      :data="tableData"
      style="width: 100%"
    >
      <el-table-column
        prop="name"
        label="员工编号"
        align="center"
      />
      <el-table-column
        align="center"
        prop="name"
        label="姓名"
      />
      <el-table-column label="变更前" align="center">
        <el-table-column
          prop="name"
          label="部门"
          align="center"
        />
        <el-table-column
          prop="name"
          label="科室"
          align="center"
        />
        <el-table-column
          prop="name"
          label="专业技术职务"
          align="center"
          min-width="120"
        />

      </el-table-column>
      <el-table-column label="变更后" align="center">
        <el-table-column
          prop="name"
          label="部门"
          align="center"
        />
        <el-table-column
          prop="name"
          label="科室"
          align="center"
        />
        <el-table-column
          prop="name"
          label="专业技术职务"
          align="center"
          min-width="120"
        />

      </el-table-column>
      <el-table-column prop="date" label="申请时间" min-width="150" align="center" />
      <el-table-column prop="date" label="变更时间" min-width="150" align="center" />
      <el-table-column label="操作" align="center" width="160">
        <template>
          <!--  slot-scope="scope" <el-button size="mini" type="text">提交</el-button> -->
          <el-button size="mini" type="text">查看详情</el-button>
          <!-- @click="handleDelete(scope.row)" -->
        </template>
      </el-table-column>

    </el-table>
  </div>

</template>

<script>
export default {
  data() {
    return {
      showSearch: true,
      form: {},
      queryform: {},
      tableData: [{
        date: '2016-05-03',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-02',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-04',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-01',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-08',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-06',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-07',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }]
    }
  },
  methods: {

  }

}
</script>
  <style scoped>
    .app-container {
    padding: 20px;
    color: #539efe9a;
    }
  </style>
